﻿/*
 *Copyright (c) 2008, Scendix Software, Inc.
 * 
 */
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.MediaCenter.UI;

namespace mceTapiRexv2
{
    public class MainMenuItem : ModelItem
    {
        private String resId;
        private Image img;
        private String page;
    
        public MainMenuItem(String resId, Image img, String page)
        {
            this.resId = resId;
            this.img = img;
            this.page = page;
        }
        public String ResId
        {
            get { return resId; }
            set { resId = value; }
        }
        public Image Image
        {
            get { return img; }
            set { img = value; }
        }
        public String Page
        {
            get { return page; }
            set { page = value; }
        }
        public void Navigate()
        {
            mceTapiRexv2.Application.Current.GoToPage(page);
        }
        
    }
}
